﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Rodunu.Business.Models.Movies;
using Rodunu.Services.IMDB;

namespace Rodunu.Clients.WPF.Collection.Forms
{
    /// <summary>
    /// Interaction logic for MovieInfoForm.xaml
    /// </summary>
    public partial class MovieInfoForm
    {
        public event SearchResultsFoundHandler SearchResultsFound;

        public Title Movie
        {
            get
            {
                return (Title)DetailsGrid.DataContext;
            }
            set
            {
                DetailsGrid.DataContext = value;
            }
        }

        public MovieInfoForm()
        {
            InitializeComponent();
        }

        
    }
}
